package cre.jaxrs.service;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;

import cre.jaxrs.domain.Order;

/**
 * Created by CreGu on 2015/9/25.
 */

@Produces({ "application/xml", "application/json" })
public interface OrderProcess {

	@GET
	@Path("/orders/{id}")
	public Order getOrder(@PathParam("id") String id);

}
